package edu.uit.se.slgroup.construct.dao;

import java.util.List;

import edu.uit.se.slgroup.construct.domain.SubCategory;
import edu.uit.se.slgroup.construct.domain.SubCategoryTemp;

public interface SubCategoryDao {
	
	// insert
	public int insertSubCategory(SubCategory subCategory);

	// get list subcategory
	public List<SubCategory> getSubCategoryList();
	
	//get list subcategory with name category
	public List<SubCategoryTemp> getSubCategoryTempList();	

	// get subcategory
	public SubCategory getSubCategoryById(int id);

	// update
	public int updateSubCategory(SubCategory subCategory);

	// delete
	public int deleteSubCategory(int id);
}
